<?php
/**
 * 首页
 *
 * @author Dracowyn
 * @since 2023-11-10 15:37
 */

// 引入配置文件
include_once('config/config.php');

$loginAuth = check_auth();

if (isset($_GET['action']) && $_GET['action'] == 'logout') {
	setcookie('loginAuth', '', time() - 1);
	showMsg('退出成功', 'login.php');
	exit();
}

?>


<html lang="zh">
<head>
	<?php include_once('common/meta.php'); ?>
    <title>首页</title>
</head>

<body>
<?php include_once('common/header.php'); ?>
<?php include_once('common/menu.php'); ?>
<div class="content">
    <div class="header">
        <h1 class="page-title">后台首页</h1>
    </div>
    <ul class="breadcrumb">
        <li><a href="index.php">首页</a><span class="divider">/</span></li>
        <li class="active">Index</li>
    </ul>

    <div class="container-fluid">
        <div class="row-fluid">
			<?php include_once('common/footer.php'); ?>
        </div>
    </div>
</div>
<?php include_once('common/script.php'); ?>
</body>
</html>